package com.juyu.miliao.common.constant;

/**
 * 消费类型
 * @by: 卜加超
 */
public enum RecordTypeEnum {
    //消费类型：1.购买私照 2 语音聊天 3 视频聊天 4 送礼物 5送红包
    // 6幸运红包 7金币充值 8.蜜照 9.幸运转盘消费金币 10.幸运轮盘赚取金币  11.购买qq 12.购买微信，13 偷听语句,14 聊天语音，
    // 15 抽奖,16 水果机消费金币,17 水果机赚取金币，18 收费视频 19 聊天计费 20 关注公众号赚取金币
    BUY_PRIVATEPHTO(1,"购买私照"),
    CHAT_VOICE(2,"语音聊天"),
    CHAT_VIDEO(3,"视频聊天"),
    GIVE_GIFT(4,"送礼物"),
    GIVE_RED_ENVELOPE(5,"送红包"),
    LUCKY_RED_ENVELOPE(6,"幸运红包"),
    GOLD_COIN_RECHARGE(7,"金币充值"),
    HONEY_PHOTO(8,"蜜照"),
    CONSUME_GOLD_COINS(9,"幸运转盘消费金币"),
    Earn_GOLD_COINS (10,"幸运轮盘赚取金币"),
    QQ_PURCHASE(11,"购买qq"),
    WECHAT_PURCHASE(12,"购买微信"),
    EAVESDROPPING_STATEMENT(13,"偷听语句"),
    VOICE(14,"聊天语音"),
    LUCK_DRAW(15,"抽奖"),
    FRUIT_MACHINE_CONSUMPTION(16,"水果机消费金币"),
    FRUIT_MACHINE_EARNING(17,"水果机赚取金币"),
    HONEY_VIDEO(18,"收费视频"),
    USER_CHAT(19,"聊天计费"),
    USER_BINDING_WX(20,"关注公众号赚取金币"),
    USER_SIGN_IN_GOLD(21,"签到赚取金币");




    public final int state;

    public final String desc;

    public static String getDescByType(int type){
        String message;
        switch (type){
            case 1:
                message = "私照";
                break;
            case 2:
                message = "语音通话";
                break;
            case 3:
                message = "视频通话";
                break;
            case 4:
                message = "礼物";
                break;
            case 5:
                message = "红包";
                break;
            case 6:
                message = "幸运红包";
                break;
            case 7:
                message = "金币充值";
                break;
            case 8:
                message = "收费私照";
                break;
            case 9:
                message = "幸运转盘";
                break;
            case 10:
                message = "幸运轮盘";
                break;
            case 11:
                message = "购买qq";
                break;
            case 12:
                message = "购买微信";
                break;
            case 13:
                message = "秘密偷听";
                break;
            case 14:
                message = "收费悄悄话";
                break;
            case 15:
                message = "翻牌抽奖";
                break;
            case 16:
                message = "水果机";
                break;
            case 17:
                message = "水果机";
                break;
            case 18:
                message = "收费短视频";
                break;
            case 19:
                message = "聊天计费";
                break;
            case 20:
                message = "关注公众号赚取金币";
                break;
            case 21:
                message ="签到赚取金币";
                break;
            default:
                message = "其他消费";
                break;

        }
        return message;
    }

    RecordTypeEnum(int state, String desc){
        this.state = state;
        this.desc = desc;
    }
}
